, (Comma)

The comma operator is simply a way to allow multiple statements to be executed as one statement, with the only value returned being the value of the last or right - most statement.

syntax:

statementOne, statementTwo, statementThree, etc.

EXAMPLE

variableOne = (a = 5, b = 10); document.write("The contents of variableOne are : " , variableOne , ", " , a , ", " , b , ".")

This example states one variable which has two values within it. Each is separated, or delimited, with the comma operator. The document.write statement then displays the contents of the variable, again using a comma delimited list.